package com.baizhiedu.rsm.dao;

import com.baizhiedu.rsm.entity.Suggest;

import java.util.Date;
import java.util.List;

public interface SuggestDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Suggest record);

    Suggest selectByPrimaryKey(Integer id);

    List<Suggest> selectAll();

    int updateByPrimaryKey(Suggest record);
    /**
     * 根据日期显示所有的学生意见
     * @return
     */
    List<Suggest> showSuggestByDate(Date suggestDate);
}